package com.hexiang.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import groovy.transform.EqualsAndHashCode;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("user_info")
public class UserInfo implements Serializable {
    @TableId("id")
    private int id;

    @TableField("user_name")
    private String userName;

    @TableField("sex")
    private int sex;

    @TableField("phone")
    private String phone;

    @TableField("version")
    private int version;

    @TableField("del_flag")
    private int delFlag;
}
